/***************************************************************************
 *   Copyright (C) 2008 by beltegeuse   *
 *   beltegeuse@kubuntu-acer   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef BDEDITEUR_H
#define BDEDITEUR_H

#include <QtCore/QObject>

//Include Qt
class QString;
/**
Class qui represente un editeur
*/
class BdEditeur
{

public:
  //Constructors & Destructors
  /**
  Constructeur pour creer un nouvel editeur
  @param myId id de l'editeur
  @param nom nom de l'editeur
  */
  BdEditeur(int myId, QString nom = QString());
  
  /**
  Desturcteur
  */
  ~BdEditeur();

  //ASSENCEURS
  /**
  @return nom de l'editeur
  */
  QString nom();
  
  /**
  Pour changer le nom de l'editeur
  @param nom nouveau nom
  */
  void setNom(QString nom);
  
  /**
  @return id de l'editeur
  */
  int id() const;
private:
  /**
  Nom de l'editeur
  */
  QString mNom;
  
  /**
  L'id de l'editeur
  */
  int mId;
};

#endif
